package edu.scau.cxq.gp.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.github.pagehelper.PageInfo;
import edu.scau.cxq.gp.entity.Inventory;
import edu.scau.cxq.gp.vo.InventoryVO;

/**
 * <p>
 * 库存 服务类
 * </p>
 *
 * @author CXQ
 * @since 2022-01-30
 */
public interface IInventoryService extends IService<Inventory> {

    /**
     * 获取库存分页对象
     * @param currentPage
     * @param size
     * @param goodsId
     * @param wareId
     * @return
     */
    PageInfo<InventoryVO> getInventoryVOList(Integer currentPage, Integer size, Long goodsId, Long wareId);

    /**
     * 库存整理
     */
    void sortInventory();
}
